Optimal. Leaf size=23 \[ \frac {\tanh ^{-1}\left (\frac {3-2 x^4}{\sqrt {5}}\right )}{2 \sqrt {5}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 23, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.188, Rules used = {1366, 632, 212}
\begin {gather*} \frac {\tanh ^{-1}\left (\frac {3-2 x^4}{\sqrt {5}}\right )}{2 \sqrt {5}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 632
Rule 1366
Rubi steps
\begin {align*} \int \frac {x^3}{1-3 x^4+x^8} \, dx &=\frac {1}{4} \text {Subst}\left (\int \frac {1}{1-3 x+x^2} \, dx,x,x^4\right )\\ &=-\left (\frac {1}{2} \text {Subst}\left (\int \frac {1}{5-x^2} \, dx,x,-3+2 x^4\right )\right )\\ &=\frac {\tanh ^{-1}\left (\frac {3-2 x^4}{\sqrt {5}}\right )}{2 \sqrt {5}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 38, normalized size = 1.65 \begin {gather*} \frac {\log \left (3+\sqrt {5}-2 x^4\right )-\log \left (-3+\sqrt {5}+2 x^4\right )}{4 \sqrt {5}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 19, normalized size = 0.83
method | result | size |
default | \(-\frac {\sqrt {5}\, \arctanh \left (\frac {\left (2 x^{4}-3\right ) \sqrt {5}}{5}\right )}{10}\) | \(19\) |
risch | \(\frac {\ln \left (2 x^{4}-\sqrt {5}-3\right ) \sqrt {5}}{20}-\frac {\ln \left (2 x^{4}+\sqrt {5}-3\right ) \sqrt {5}}{20}\) | \(36\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.61, size = 31, normalized size = 1.35 \begin {gather*} \frac {1}{20} \, \sqrt {5} \log \left (\frac {2 \, x^{4} - \sqrt {5} - 3}{2 \, x^{4} + \sqrt {5} - 3}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 43 vs.
\(2 (18) = 36\).
time = 0.34, size = 43, normalized size = 1.87 \begin {gather*} \frac {1}{20} \, \sqrt {5} \log \left (\frac {2 \, x^{8} - 6 \, x^{4} - \sqrt {5} {\left (2 \, x^{4} - 3\right )} + 7}{x^{8} - 3 \, x^{4} + 1}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.04, size = 42, normalized size = 1.83 \begin {gather*} \frac {\sqrt {5} \log {\left (x^{4} - \frac {3}{2} - \frac {\sqrt {5}}{2} \right )}}{20} - \frac {\sqrt {5} \log {\left (x^{4} - \frac {3}{2} + \frac {\sqrt {5}}{2} \right )}}{20} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 3.55, size = 33, normalized size = 1.43 \begin {gather*} \frac {1}{20} \, \sqrt {5} \log \left (\frac {{\left | 2 \, x^{4} - \sqrt {5} - 3 \right |}}{{\left | 2 \, x^{4} + \sqrt {5} - 3 \right |}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.57, size = 30, normalized size = 1.30 \begin {gather*} \frac {\sqrt {5}\,\mathrm {atanh}\left (\frac {3\,\sqrt {5}-8\,\sqrt {5}\,x^4}{18\,x^4-7}\right )}{10} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________